{% extends "tester/base.html" %}
{% load i18n %}

{% block bodyclass %}login{% endblock %}

{% block content_title %}{% endblock %}

{% block breadcrumbs %}{% endblock %}

{% block content %}
		<div id="tabs" class="ui-tabs ui-widget ui-corner-all">
			<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
				{% if currentTab == "ping" %}
				<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-focus">
				{% else %}
				<li class="ui-state-default ui-corner-top">
				{% endif %}
				<a href="/tester/ping/">Ping</a></li>
				{% if currentTab == "traceroute" %}
				<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-focus">
				{% else %}
				<li class="ui-state-default ui-corner-top">
				{% endif %}
				<a href="/tester/traceroute/">Traceroute</a></li>
				{% if currentTab == "host" %}
				<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-focus">
				{% else %}
				<li class="ui-state-default ui-corner-top">
				{% endif %}
				<a href="/tester/host/">Host</a></li>
				{% if currentTab == "netcat" %}
				<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-focus">
				{% else %}
				<li class="ui-state-default ui-corner-top">
				{% endif %}
				<a href="/tester/netcat/">Netcat</a></li>
				<li class="login-info">
					{% if user.is_active and user.is_staff %}
						<div id="user-tools">
							{% trans 'logged as:' %}
							<strong>{% filter force_escape %}{% firstof user.first_name user.username %}{% endfilter %}</strong> <span class="delimiter">|</span> 
							{% block userlinks %}
								{% url 'django-admindocs-docroot' as docsroot %}
								{% if docsroot %}
									<a href="{{ docsroot }}">{% trans 'Documentation' %}</a>
								{% endif %}
								{% url 'admin:password_change' as password_change_url %}
								{% if password_change_url %}
									<a href="{{ password_change_url }}">
								{% else %}
									<a href="/../accounts/password_change/">
								{% endif %}
								{% trans 'Change password' %}</a> <span class="delimiter">|</span>
								{% url 'admin:logout' as logout_url %}
								{% if logout_url %}
									<a href="{{ logout_url }}">
								{% else %}
									<a href="/../accounts/logout/">
								{% endif %}
								{% trans 'Log out' %}</a>
							{% endblock %}
						</div>
					{% endif %}
				</li>
			</ul>
		</div>
		<form id="myForm" method="post">
			<div class="">
				<div class="content">
					<div class="content-top-left"></div>
					<div class="content-top">
						</br>
						<h2><em>command: {{ command }}</em></h2>							
					</div>
				</div>
			</div>
		</form>
{% endblock %}
{% block iframe %}
<iframe src="process" style="position:absolute; top:80px; left:20px; width:95%; height:80%;"></iframe>	
{% endblock %}

